--[[doc
h1. Plugin API: DataBrijer

*Description:*
	Creates a display block for a databroker object
	cargoShip is required for this addon to work

*Spawns with:*
*	:SpawnPlugin("DataBroker", name [, options]): spawn a frame with named data object and the additional options
doc]]

-- Register the plugin
cargBags:RegisterPlugin("DataBroker", function(self, ...)
	if(not cargoShip) then return end
	local object = cargoShip(...)
	if(not object) then return end
	object:SetParent(self)
	return object
end)